package cate.game.role.pvp.pointrace.msg;

import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBPointRace;
import easy.java.dev.note.NoteField;
import lombok.NoArgsConstructor;

@NoArgsConstructor
public class PointRaceBuyTicketResp implements MsgOutput {
    @NoteField(value = "购买数量")
    public int buyChallengeTimes;

    public PointRaceBuyTicketResp(int buyChallengeTimes) {
        this.buyChallengeTimes = buyChallengeTimes;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBPointRace.BUY_TICKET_RESP;
    }
}
